
import { Column, Table } from 'sequelize-typescript';
import { BaseModel } from '@/model'

@Table
export class Tenant extends BaseModel {

  @Column({ allowNull: false, comment: "租户域名" })
  tenantDomain: string;

  @Column({ allowNull: false, comment: "租户编码" })
  code: string;

  @Column({ allowNull: false, comment: "租户名称" })
  name: number;

  @Column({ comment: "菜单id" })
  menuId: string;

  @Column({ comment: "开始时间" })
  startTime: string;

  @Column({ comment: "结束时间" })
  endTime: string;

  @Column({ comment: "状态" })
  status: string;

  @Column({ comment: "创建人" })
  createBy: string;

  @Column({ comment: "更新人" })
  updateBy: string;
}
